package shop.up.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import shop.up.model.product.BaseCategory1;
import shop.up.model.product.SpuSaleAttr;

import java.util.List;

/**
 * 商品销售属性 Mapper 接口
 */
public interface SpuSaleAttrMapper extends BaseMapper<SpuSaleAttr> {

    /**
     * 根据spuId查询销售属性集合
     * @param spuId
     * @return
     */
    List<SpuSaleAttr> selectSpuSaleAttrList(@Param("spuId") Long spuId);
}
